This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
Opening a dijit dialog from <div> markup is working perfectly but not from programatically through a javascript function. We are trying to open/edit document in dijit dialog by clicking on an icon in the view column from viewpanel. The dialog is displaying document perfectly but all buttons are idle and no action fire. Here is the code:
dojo.require("dijit.form.Button");
dojo.addOnLoad(function(){
//first check if it's there so we don't create a duplicate
var dialog = dijit.byId("fieldProfileDialogId");
if (dialog) { dialog.destroyRecursive(); }
var url = "xpFormFieldProfile.xsp" + "?documentId=" + "#{javascript:rowFieldProfile.getUniversalID()}" + "&action=editDocument";
// create a "hidden" Dialog till calling show it
var dialog = new Com.ZetaOne.widget.Dialog({
title:"Field Profile",
href: url,
refreshOnShow: true,
preventCache: true
},
dojo.byId("fieldProfileDialogId")
);
// showe the dialog box
dialog.show();
});
Please note that we are opening an xpages in a dijit diaolog box.
Thanks a lot.
Feedback response number WEBB84SC8R created by ~John Nimtumimargon on 04/23/2010